<template>
  <AppTopnav />
  <AppHeader />
  <main  class="app-body">
    <!-- 二级路由 -->
    <RouterView />
    <AppHeaderSticky />
  </main>
 <AppFooter />
</template>

<script>
import AppTopnav from '@/components/app-topnav.vue'
import AppHeader from '@/components/app-header.vue'
import AppFooter from '@/components/app-footer.vue'
import AppHeaderSticky from '@/components/app-header-sticky.vue'
export default {
  components: { AppTopnav, AppHeader, AppFooter, AppHeaderSticky },
  name: 'xtx-layout'
}
</script>

<style scoped lang='less'>
.app-body {
  min-height: 600px;
}
</style>
